#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int is_leap_year(int x)
{
	if ((x % 4 == 0) && (x % 400 != 0) || (x % 400 == 0))
		return 1;
	else
		return 0;
}
int main()
{
	int y = 0; 
	scanf("%d", &y);
	int r = is_leap_year(y);
	if (r == 1)
	{
		printf("yes\n");
	}
	else
	{
		printf("no\n");
	}
}